package com.operation.service.impl;

import com.operation.dao.WebServiceInfoMapper;
import com.operation.entity.WebServiceInfo;
import com.operation.service.WebServiceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebServiceInfoServiceImpl implements WebServiceInfoService {
    @Autowired
    WebServiceInfoMapper webServiceInfoMapper;

    @Override
    public int insert(WebServiceInfo record) {
        return webServiceInfoMapper.insert(record);
    }

    @Override
    public int updateContent(WebServiceInfo record) {
        return webServiceInfoMapper.updateContent(record);
    }

    @Override
    public WebServiceInfo selectAllInfo() {
        return webServiceInfoMapper.selectAllInfo();
    }
}
